package com.sinven.serivce;

import java.util.List;

import com.sinven.pojo.Classification;

public interface ClassificationSerivce {

	/**
	 * 添加
	 * @param classification
	 * @return
	 */
	Boolean addclassification(Classification classification);
	
	/**
	 * 修改
	 * @param classification
	 * @return
	 */
	Boolean updateclassification(Classification classification);
	
	/**
	 * 删除
	 * @param cid
	 * @return
	 */
	Boolean deleteclassification(Long cid);
	
	/**
	 * 查询所有类型
	 * @return
	 */
	List<Classification> queryAll();
}
